<div id="view_client<?php echo $contract['contract_id']; ?>" class="zoom-anim-dialog view-booking-popup-edit relative">                   
                   <div style="" class="view-booking-popupz ">
                        <h1>فاتورة</h1>
                        <hr /><input type="button" style="border:none;" class="left margin-top5 cursor print red" value="طباعة العقد"  />
                        <div class="print-wrap">
                        	<table class="view-bookings-table">
                    <tbody><tr>
                        <td>
                            <table style="" class="view-bookings-table" border="0">
                                <tbody><tr>
                                    <td style="width: 72px;" rowspan="4">
                                        <div style="margin: 4px 4px 4px 4px; width: 64px; height: 64px;">
                                        </div>
                                    </td>
                                    <td rowspan="2" class="center">
                                        <span class="medium bold"><?php echo $_SESSION['organization']; ?></span>
                                    </td>
                                    <td style="width: 64px;">
                                    </td>
                                    <td style="width: 16px;">
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                    </td>
                                    <td>
                                    </td>
                                </tr>
                                <tr>
                                    
                                    <td class="center red" colspan="5">
                                        <a style=""href="./"> 
                                        <img src="<?php echo $_SESSION['logo']; ?>" class="right" title="Nazeel" Alt= "logo" style="position: relative;top: -14px;"/></a>
                                        <p class="black" style="position:relative;    top: 21px;left: 77px;"><?php echo $_SESSION['organization']; ?></p>
                                        <div class="clear"></div>
                                    </td>
                                    
                                                               </tr>
                                <tr>
                                    <td class="center" style="width:100%">
                                       <!--<strong class="text-right"></strong>هاتف :<?php //echo $_SESSION['place']; ?>&nbsp;&nbsp;&nbsp;<strong>
                                        <strong class="text-right"></strong><?php //echo $_SESSION['phone']; ?>&nbsp;&nbsp;&nbsp;<strong>
                                        <strong class="text-right"></strong>&nbsp;&nbsp;&nbsp;<strong>-->
                                        <span><strong class="text-right">هاتف: </strong><?php echo $_SESSION['phone']; ?></span>&nbsp;&nbsp;&nbsp;</span>
                                        <span><strong class="text-right">فاكس: </strong><?php echo $_SESSION['fax']; ?></span>&nbsp;&nbsp;&nbsp;</span>
                                        <!--<span><strong class="text-right">ايميل: </strong> LEMAR@tawaf.sa</span>&nbsp;&nbsp;&nbsp;</span>-->
                                        <span><strong class="text-right">الموقع: </strong><?php echo $_SESSION['website']; ?></span>&nbsp;&nbsp;&nbsp;</span>
                                    </td>
                                    <td class="text-right">
                                    </td>
                                    <td class="text-right">
                                    </td>
                                </tr>
                            </tbody></table>
                        </td>
                    </tr>
                </tbody></table>
                <div id="">
                    <table style="" class="view-bookings-table">
                        <tbody>
                        
                        <tr>
                            <td>
                                <div style="border: 1px solid black">
                                    <table class="view-bookings-table ltr">
                                        <tbody><tr>
                                            <td colspan="10">
                                            </td>
                                        </tr>
                                        <tr class=""><td colspan="10" class="center large">عــقــد ايــجــار</td></tr>
                                        <tr>
                                            <td style="width: 16px;">
                                            </td>
                                            <td style="width: 42px;" class="ltr">
                                                <strong>
                                                    <?php echo $contract['contract_id']; ?></strong>
                                            </td>
                                            <td class="center" style="width: 10px;">
                                                :
                                            </td>
                                            <td style="width: 80px;" class="text-right">
                                                رقم العقد
                                            </td>
                                            <td style="width: 30px;" class="text-right">
                                            </td>
                                            <td rowspan="2" style="width: 266px; text-align: center; vertical-align: middle"></td>
                                            <td style="width: 240px;" class="Direction">
                                                <strong>
                                                    <?php echo $contract['mildai_from']; ?></strong>
                                            </td>
                                            <td style="width: 10px; text-align: center;">
                                                :
                                            </td>
                                            <td style="width: 74px;" class="text-right Direction">
                                                التاريخ
                                            </td>
                                            <td style="width: 16px;">
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                            </td>
                                            <td>
                                            </td>
                                            <td style="width: 10px; text-align: center;">
                                            </td>
                                            <td class="Opptext-right">
                                            </td>
                                            <td class="Opptext-right">
                                            </td>
                                            <td class="Direction">
                                                <strong>
                                                    <?php echo $contract['hijri_in']; ?></strong>
                                            </td>
                                            <td style="width: 10px; text-align: center;">
                                                :
                                            </td>
                                            <td class="text-right Direction">
                                                الموافق
                                            </td>
                                            <td>
                                            </td>
                                        </tr>
                                    </tbody></table>
                                    <table class="view-bookings-table">
                                        <tbody><tr>
                                            <td style="width: 12px; height: 4px">
                                            </td>
                                            <td style="width: 152px;">
                                            </td>
                                            <td style="width: 12px;">
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                            </td>
                                            <td class="Direction fieldsetContainer">
                                                <fieldset>
                                                    <legend><strong>
                                                        العقد</strong></legend>
                                                    <table class="view-bookings-table view-bookings-table-small">
                                                        <tbody><tr>
                                                            <td style="width: 70px;">
                                                                بداية العقد
                                                            </td>
                                                            <td style="text-align: center;">
                                                                :
                                                            </td>
                                                            <td style="width: 120px;">
                                                                <strong>
                                                                   <?php echo $contract['mildai_from']; ?>
                                                                </strong>
                                                            </td>
                                                            <td style="width: 0px;">
                                                            </td>
                                                            <td style="width: 206px;">
                                                            </td>
                                                            <td style="width: 0px;">
                                                            </td>
                                                            <td style="width: 80px;">
                                                                نهاية العقد
                                                            </td>
                                                            <td style="width: 10px; text-align: center;">
                                                                :
                                                            </td>
                                                            <td style="width: 90px;">
                                                                <strong>
                                                                   <?php echo $contract['miladi_out']; ?>
                                                                </strong>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                الموافق
                                                            </td>
                                                            <td style="width: 10px; text-align: center;">
                                                                :
                                                            </td>
                                                            <td>
                                                                <strong>
                                                                  <?php echo $contract['hijri_in']; ?>
                                                                </strong>
                                                            </td>
                                                            <td>
                                                            </td>
                                                            <td>
                                                            </td>
                                                            <td>
                                                            </td>
                                                            <td>
                                                                الموافق
                                                            </td>
                                                            <td style="text-align: center;">
                                                                :
                                                            </td>
                                                            <td style="width:210px">
                                                                <strong>
                                                                    <?php echo $contract['hijri_out']; ?>
                                                                </strong>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                            </td>
                                                            <td style="text-align: center;">
                                                            </td>
                                                            <td>
                                                            </td>
                                                            <td>
                                                            </td>
                                                            <td>
                                                            </td>
                                                            <td>
                                                            </td>
                                                            <td>
                                                            </td>
                                                            <td style="text-align: center;">
                                                            </td>
                                                            <td>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                نوع الإيجار
                                                            </td>
                                                            <td style="text-align: center;">
                                                                :
                                                            </td>
                                                            <td>
                                                                <strong>
                                                                    <?php 
																	if($contract['rent_type']==0)
																	echo "يومى";
                                                                     if($contract['rent_type']==1)
																	 echo "اسبوعى";
																	  if($contract['rent_type']==2)
																	 echo "شهرى";
																	?> 
                                                                </strong>
                                                            </td>
                                                            <td>
                                                            </td>
                                                            <td>
                                                            </td>
                                                            <td>
                                                            </td>
                                                            <td>
                                                                رقم الوحدة
                                                            </td>
                                                            <td style="text-align: center;">
                                                                :
                                                            </td>
                                                            <td>
                                                                <strong>
                                                                    <?php echo $contract['apartment_name']; ?></strong>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <?php 
																	if($contract['rent_type']==0)
																	echo "الايجار اليومى";
                                                                     if($contract['rent_type']==1)
																	 echo "الايجار الاسبوعى";
																	  if($contract['rent_type']==2)
																	 echo "الايجار الشهرى";
																	?> 
                                                            </td>
                                                            <td style="text-align: center;">
                                                                :
                                                            </td>
                                                            <td>
                                                                <strong>
                                                                    <?php 
																	if($contract['rent_type']==0)
																	echo $contract['chosen_daily'] ;
                                                                     if($contract['rent_type']==1)
																	echo $contract['chosen_weekly'] ;
																	  if($contract['rent_type']==2)
																	echo $contract['chosen_monthly'] ;
																	?> 
                                                                </strong>
                                                                ر .س
                                                            </td>
                                                            <td>
                                                            </td>
                                                            <td>
                                                            </td>
                                                            <td>
                                                            </td>
                                                            <td>
                                                                 <?php 
																	if($contract['rent_type']==0)
																	echo "عدد الايام" ;
                                                                     if($contract['rent_type']==1)
																	echo "عدد الاسابيع" ;
																	  if($contract['rent_type']==2)
																	echo "عدد الاشهر" ;
																	?>
                                                            </td>
                                                            <td style="text-align: center;">
                                                                :
                                                            </td>
                                                            <td>
                                                                <strong>
                                                                    <?php 
																	if($contract['rent_type']==0)
																	echo $contract['period'] ." يوم" ;
                                                                     if($contract['rent_type']==1)
																	echo floor(($contract['period']/7))." اسبوع" ;
																	  if($contract['rent_type']==2)
																	echo floor(($contract['period']/30))." شهر" ;
																	?> </strong>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                الاجمالي
                                                            </td>
                                                            <td style="text-align: center;">
                                                                :
                                                            </td>
                                                            <td>
                                                                <strong>
                                                                  <?php echo $contract['total'] ; ?>

                                                                </strong>
                                                                ر .س
                                                            </td>
                                                            <td>
                                                            </td>
                                                            <td>
                                                            </td>
                                                            <td>
                                                            </td>
                                                            <td>
                                                                الخصم
                                                            </td>
                                                            <td style="text-align: center;">
                                                                :
                                                            </td>
                                                            <td>
                                                                <strong>
                                                                    <?php echo $contract['discount'] + $contract['co_discount'] ; ?>
                                                                </strong>
                                                                
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                التكلفة النهائية
                                                            </td>
                                                            <td style="text-align: center;">
                                                                :
                                                            </td>
                                                            <td>
                                                                <strong>
                                                                    <?php 
                                                                      $price_discounted = $contract['total'] - (  ( ($contract['discount'] + $contract['co_discount']))  ) - $contract['fixed_discount'];
                                                                      echo $price_discounted;
                                                                    ?> 
                                                                </strong>
                                                                ر .س
                                                            </td>
                                                            <td>
                                                            </td>
                                                            <td>
                                                            </td>
                                                            <td>
                                                            </td>
                                                            <td>
                                                                المدفوع
                                                            </td>
                                                            <td style="text-align: center;">
                                                                :
                                                            </td>
                                                            <td>
                                                                <strong>
                                                                  <?php echo $contract['paid']; ?>
                                                                </strong>
                                                                ر .س
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                           <td>
                                                                التأمين
                                                            </td>
                                                            <td style="text-align: center;">
                                                                :
                                                            </td>
                                                            <td>
                                                                <strong>
                                                                    <?php $insurance = query('SELECT SUM(amount) FROM recipt_vouchers where contract_id = ? and payment_type=1',$contract['contract_id']);
                                                                          $insurance = $insurance[0]['SUM(amount)'];
                                                                          echo $insurance;
                                                                      ?>
                                                                </strong>
                                                                ر .س
                                                            </td>
                                                          
                                                            <td>
                                                            </td>
                                                            <td style="text-align: center;">
                                                            </td>
                                                            <td>
                                                            </td>
                                                            <td>
                                                            خصم إضافى :
                                                            </td>
                                                            <td style="text-align: center;">
                                                                :
                                                            </td>
                                                            <td>
                                                                <strong>
                                                                    <?php echo $contract['fixed_discount'];?>
                                                                </strong>
                                                                ر .س
                                                            </td>
                                                        </tr>
                                                    </tbody></table>
                                                </fieldset>
                                            </td>
                                            <td>
                                            </td>
                                        </tr>
                                        <tr style="height: 4px">
                                            <td>
                                            </td>
                                            <td>
                                            </td>
                                            <td>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                            </td>
                                            <td class="Direction fieldsetContainer">
                                                <fieldset>
                                                    <legend><strong>
                                                        العميل</strong></legend>
                                                    <table class="view-bookings-table view-bookings-table-small">
                                                        <tbody><tr>
                                                            <td style="width: 80px;">
                                                                اسم العميل
                                                            </td>
                                                            <td style="text-align: center; width: 10px;">
                                                                :
                                                            </td>
                                                            <td colspan="3">
                                                                <strong>
                                                                   <?php echo $contract['name']; ?></strong>
                                                            </td>
                                                            <td style="width: 0px;">
                                                            </td>
                                                            <td style="width: 66px;">
                                                                الجنسية
                                                            </td>
                                                            <td style="width: 10px; text-align: center;">
                                                                :
                                                            </td>
                                                            <td style="width: 9px;">
                                                                <strong>
                                                                   <?php 
																   $nationality= query("SELECT * FROM nationalities WHERE
																              nationality_id=?",$contract['nationality']);
																   if(isset($nationality[0]['nationality_value'])){echo $nationality[0]['nationality_value'];}; 
																   ?></strong>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td style="width: 70px;">
                                                                نوع الإثبات
                                                            </td>
                                                            <td style="text-align: center; width: 10px;">
                                                                :
                                                            </td>
                                                            <td style="width: 120px;">
                                                                <strong>
                                                     <?php echo $contract['identification_type']; ?>
                                                                     </strong>
                                                            </td>
                                                            <td style="width: 0px;">
                                                            </td>
                                                            <td style="width: 206px;">
                                                            </td>
                                                            <td style="width: 0px;">
                                                            </td>
                                                            <td style="width: 66px;">
                                                                رقم الإثبات
                                                            </td>
                                                            <td style="text-align: center; width: 10px;">
                                                                :
                                                            </td>
                                                            <td style="width: 210px;">
                                                                <strong>
                                                                  <?php echo $contract['identification_number']; ?> 
																  </strong>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                تاريخها
                                                            </td>
                                                            <td style="text-align: center;">
                                                                :
                                                            </td>
                                                            <td>
                                                                <strong>
                                                                    <?php echo $contract['expiry_date']; ?> 
																	</strong>
                                                            </td>
                                                            <td>
                                                            </td>
                                                            <td>
                                                            </td>
                                                            <td style="width: 0px;">
                                                            </td>
                                                            <td>
                                                                مصدرها
                                                            </td>
                                                            <td style="text-align: center;">
                                                                :
                                                            </td>
                                                            <td>
                                                                <strong>
                                                                    <?php echo $contract['publication_place']; ?> 
																	</strong>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                جوال
                                                            </td>
                                                            <td style="text-align: center;">
                                                                :
                                                            </td>
                                                            <td>
                                                                <strong>
                                                                    <?php echo $contract['mobile']; ?> 
																	</strong>
                                                            </td>
                                                            <td>
                                                            </td>
                                                            <td>
                                                            </td>
                                                            <td style="width: 0px;">
                                                            </td>
                                                           <!-- <td>
                                                                عدد المرافقين
                                                            </td>
                                                            <td style="text-align: center;">
                                                                :
                                                            </td>
                                                            <td>
                                                                <strong>
                                                                    0</strong>
                                                            </td>-->
                                                        </tr>
                                                    </tbody></table>
                                                </fieldset>
                                            </td>
                                            <td>
                                            </td>
                                        </tr>
                                        <tr style="height: 10px;">
                                            <td>
                                            </td>
                                            <td>
                                            </td>
                                            <td>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>&nbsp;
                                                
                                            </td>
                                            <td>&nbsp;
                                                
                                            </td>
                                            <td>&nbsp;
                                                
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                            </td>
                                            <td>
                                            </td>
                                            <td>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>&nbsp;
                                                
                                            </td>
                                            <td>&nbsp;
                                                
                                            </td>
                                            <td>&nbsp;
                                                
                                            </td>
                                        </tr>
                                    </tbody></table>
                                </div>
                            </td>
                        </tr>
                    </tbody></table>
                    <table class="customers-table reciept " style="width: 677px; border:1px solid #000; margin-top:7px;">
                      <tbody>
                                                    <tr>
                                                        <td style="text-align: center;width: 260px;" >
                                                            <strong>
                                                                العملية
                                                            </strong>
                                                        </td>
                                                        <td style="width: 54px; text-align: center;">
                                                            <strong>
                                                                رقم السند </strong>
                                                        </td>
                                                         <td style="width: 54px; text-align: center;">
                                                            <strong>
                                                                التاريخ</strong>
                                                        </td>
                                                         <td style="width: 30px; text-align: center;">
                                                            <strong>
                                                                دائن</strong>
                                                        </td>
                                                        <td style="width: 30px; text-align: center;">
                                                            <strong>
                                                                مدين</strong>
                                                        </td>
                                                          
                                                          
                                                        
                                                        
                                                    </tr>
                                                    
                                                            <tr>
                                                                <td class="TextAlign">
                                                                    التكلفة الكلية للايجار
                                                                </td>
                                                                <td style="text-align:center">
                                                                    ---
                                                                </td>
                                                                <td class="TextAlign">
                                                                   ---
                                                                </td>
                                                                <td>
                                                                    ---
                                                                </td>
                                                                <td>
                                                                    - <?php 
                                                                      $total_without_discount = $contract['total'];
                                                                      echo $total_without_discount;
                                                                      $paid_back = $total_without_discount; 
                                                                      $paid = 0;
                                                                    ?>
                                                                </td>
                                                                
                                                                
                                                            </tr>
                                                        
                                                            <?php 
                                                              if($contract['discount'] != 0)
                                                              {
                                                                
                                                            ?>
                                                            <tr>
                                                                <td class="TextAlign">
                                                                     خصم
                                                                </td>
                                                                <td style="text-align:center">
                                                                    ---
                                                                </td>
                                                                <td>
                                                                    ---
                                                                </td>
                                                                <td>
                                                                    + <?php echo ($contract['discount']); 
                                                                      $paid =  ($contract['discount']);
                                                                    ?>
                                                                </td>
                                                                <td class="TextAlign">
                                                                    ---
                                                                </td>
                                                                
                                                                
                                                                
                                                                
                                                            </tr>
                                                            <?php 
                                                              }
                                                            ?>
                                                            
                                                            <?php 
                                                              if($contract['co_discount'] != 0)
                                                              {
                                                            ?>
                                                            <tr>
                                                                <td class="TextAlign">
                                                                     خصم لأجل شركة <?php echo $contract['related_company']; ?>
                                                                </td>
                                                                <td style="text-align:center">
                                                                    ---
                                                                </td>
                                                                <td>
                                                                    ---
                                                                </td>
                                                                <td>
                                                                    + <?php echo  ($contract['co_discount']); 
                                                                    $paid += ($contract['co_discount'])
                                                                    ?>
                                                                </td>
                                                                <td class="TextAlign">
                                                                    ---
                                                                </td>
                                                                
                                                                
                                                                
                                                                
                                                            </tr>
                                                            <?php 
                                                              }
                                                            ?>
                                                            
                                                            <?php 
                                                              if($contract['fixed_discount'] != 0)
                                                              {
                                                            ?>
                                                            <tr>
                                                                <td class="TextAlign">
                                                                     خصم إضافى
                                                                </td>
                                                                <td style="text-align:center">
                                                                    ---
                                                                </td>
                                                                <td>
                                                                    ---
                                                                </td>
                                                                <td>
                                                                    + <?php echo $contract['fixed_discount']; 
                                                                    $paid += $contract['fixed_discount'];
                                                                    ?>
                                                                </td>
                                                                <td class="TextAlign">
                                                                    ---
                                                                </td>
                                                                
                                                                
                                                                
                                                                
                                                            </tr>
                                                            <?php 
                                                              }
                                                            ?>
                                                    <?php 
                                                      $payment_vouchers = query("SELECT * from payment_vouchers where contract_id = ?",$contract['contract_id']); 
                                                      foreach($payment_vouchers as $payment)
                                                      {                                                      
                                                    ?>
                                                    <tr>
                                                        <td>
                                                        <?php echo $payment['reason']; ?>
                                                        </td>
                                                        <td>
                                                        <?php echo $payment['payment_id']; ?>
                                                        </td>
                                                        <td>
                                                        <?php echo $payment['miladi_date']; ?>
                                                        </td>
                                                        <td>
                                                            <strong>
                                                                --- 
                                                            </strong>
                                                        </td>
                                                        <td>
                                                            <strong>
                                                                - <?php echo $payment['amount']; ?>
                                                            </strong>
                                                        </td>
                                                        
                                                        
                                                        
                                                    </tr>
                                                    <?php 
                                                      }                                                    
                                                    ?>
                                                    
                                                    <?php 
                                                      $recipt_vouchers = query("SELECT * from recipt_vouchers where contract_id = ?",$contract['contract_id']); 
                                                      foreach($recipt_vouchers as $reciept)
                                                      {                                                      
                                                    ?>
                                                    <tr>
                                                        <td>
                                                        <?php echo $reciept['reason']; ?>
                                                        </td>
                                                        <td>
                                                        <?php echo $reciept['recipet_id']; ?>
                                                        </td>
                                                        <td>
                                                        <?php echo $reciept['miladi_date']; ?>
                                                        </td>
                                                        <td>
                                                            <strong>
                                                                + <?php echo $reciept['amount']; ?>
                                                            </strong>
                                                        </td>
                                                        <td>
                                                            <strong>
                                                               ---
                                                            </strong>
                                                        </td>
                                                        
                                                        
                                                        
                                                    </tr>
                                                    <?php 
                                                      }                                                    
                                                    ?>
                                                    
                                                    <?php 
                                                      $service_vouchers = query("SELECT * from service_vouchers where contract_id = ?",$contract['contract_id']); 
                                                      $service_reveneue = 0;
													  foreach($service_vouchers as $service)
                                                      {                                                      
                                                    ?>
                                                    <tr>
                                                        <td>
                                                        <?php echo $service['reason']; ?>
                                                        </td>
                                                        <td colspan="2">
                                                        <?php echo $service['payment_id']; ?>
                                                        </td>
                                                        <td>
                                                            <strong>
                                                                 --- 
                                                            </strong>
                                                        </td>
                                                        <td>
                                                            <strong>
                                                               - <?php 
																echo $service['amount'];
																$service_reveneue += $service['amount'];
															   ?>
                                                            </strong>
                                                        </td>
                                                        
                                                        
                                                        
                                                    </tr>
                                                    <?php 
                                                      }                                                    
                                                    ?>
                                                    
                                                    <tr>
                                                        <td>
                                                        </td>
                                                        <td colspan="2">
                                                        </td>
                                                        <td>
                                                            <strong>
                                                                + <?php 
                                                                    $paid =  $contract['paid'] + $paid + $insurance;
                                                                    echo $paid;  
                                                                  ?>
                                                            </strong>
                                                        </td>
                                                        <td>
                                                            <strong>
                                                               - <?php 
                                                                  $paid_back = $contract['paid_back']+ $paid_back + $insurance+$service_reveneue;
                                                                  echo $paid_back ; 
                                                                ?>
                                                            </strong>
                                                        </td>
                                                        
                                                        
                                                        
                                                    </tr>
                    </tbody>
                </table>
                <p>الرصيد: <?php echo ($paid-$paid_back); ?></p>
                </div>
                <div class="close-back white " style="width:110px" >خروج</div>
<!--                <table class="view-bookings-table">
                    <tbody><tr id="email">
	<td class="Opptext-right">
                            <strong>
                                الرمز البريدي : 11412
                            </strong>
                        </td>
	<td style="text-align: center">
                            <strong>
                                صندوق بريد : 4727
                            </strong>
                        </td>
	<td class="text-right Direction">
                            <strong>
                                البريد الالكتروني : m.badr@ageht.com
                            </strong>
                        </td>
</tr>

                </tbody></table>
                
-->                        </div>
</div>
</div>

<style>
table.reciept td
{
  border:1px solid #000;
}
</style>